module model.TeleplayVlink;

class TeleplayVlink
{
    uint id;
    string teleplay_id;
    string name;
    string url;
    string real_url;

    this ()
    {
    }

    this (uint id, string name, string url)
    {
        this.id = id;
        this.name = name;
        this.url = url;
    }

    this (uint id, string name, string url, string real_url)
    {
        this.id = id;
        this.name = name;
        this.url = url;
        this.real_url = real_url;
    }
}

class TeleplayVlinkDto
{
    uint id;
    string name;
    string url;
    string real_url;

    this ()
    {
    }

    this (uint id, string name, string url)
    {
        this.id = id;
        this.name = name;
        this.url = url;
    }

    this (uint id, string name, string url, string real_url)
    {
        this.id = id;
        this.name = name;
        this.url = url;
        this.real_url = real_url;
    }
}

class TeleplayVlinkDtoFromCreate
{
    string teleplay_id;
    string name;
    string url;
    string real_url;

    this ()
    {
    }

    this (string teleplayId, string name, string url)
    {
        this.teleplay_id = teleplayId;
        this.name = name;
        this.url = url;
        this.real_url = null;
    }

    this (string teleplayId, string name, string url, string real_url = null)
    {
        this.teleplay_id = teleplayId;
        this.name = name;
        this.url = url;
        this.real_url = real_url;
    }
}

class TeleplayVlinkDtoFromUpdate
{
    string name;
    string url;
    string real_url;

    this ()
    {
    }

    this (string name, string url)
    {
        this.name = name;
        this.url = url;
    }

    this (string name, string url, string real_url = null)
    {
        this.name = name;
        this.url = url;
        this.real_url = real_url;
    }
}
